package com.education.springbootdemo.mail;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration("EmailConfig")
public class EmailConfig {

    @Bean
    public ToEmail toEmail() {
        return new ToEmail();
    }
}
